<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
        </div>
    </main>
    
    <!-- 页脚 -->
    <footer class="bg-white py-6 mt-8 border-t border-gray-200">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <!-- 版权信息 -->
                <div class="text-gray-600 mb-4 md:mb-0">
                    &copy; <?php echo date('Y'); ?> <a href="<?php $this->options->siteUrl(); ?>" class="text-gray-800 hover:text-gray-600"><?php $this->options->title(); ?></a>
                    <?php if ($this->options->icp_record): ?>
                    <span class="mx-2">|</span>
                    <a href="https://beian.miit.gov.cn/" target="_blank" class="text-gray-600 hover:text-gray-800"><?php $this->options->icp_record(); ?></a>
                    <?php endif; ?>
                </div>
                
                <!-- 主题信息 -->
                <div class="text-gray-500 text-sm">
                    Powered by <a href="http://typecho.org/" target="_blank" class="text-gray-700 hover:text-gray-900">Typecho</a>
                    <span class="mx-1">|</span>
                    Theme <a href="https://github.com/cklx0719/typecho-theme-word" target="_blank" class="text-gray-700 hover:text-gray-900">Word</a>
                </div>
            </div>
        </div>
    </footer>
    
    <!-- 移动端菜单脚本 -->
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            const mobileMenuButton = document.getElementById('mobile-menu-button');
            const mobileMenu = document.getElementById('mobile-menu');
            
            if (mobileMenuButton && mobileMenu) {
                mobileMenuButton.addEventListener('click', function() {
                    mobileMenu.classList.toggle('hidden');
                });
            }
        });
    </script>
    
    <?php $this->footer(); ?>
</body>
</html>